View Issue Details

IDProjectCategoryView StatusLast Update
0001614T99X171.00 SKB EagleSWpublic2024-02-14 16:37
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date
PriorityhighSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001614: [Smart3][ATV12] Request a guide document on how to create a stub.apk file for apk compression
DescriptionHi Kerwin

Currently, ATV12 lacks "free space" and cannot add necessary apps.
( YouTube kids app should be prebuilt into Smart3 ATV12.
And you need to have more than 30M free space to put other apps in later)

If already prebuilt apps are compressed, we can have "free space"
So we need to help each APK manufacturer to do APK compression.

Please provide a document on how to create stub.apk file for apk compression.
Then, I will discuss it with SKB

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(ALTech) Younkwang Jung

2023-01-18 19:05

developer   ~0011831

Hi Kerwin

You know that zemkids app is already upload on bitbucket
Can you compress the apk and apply it to FW as a test?
Please check if the test is possible.

Thank you
YK.Jung

(SW) Kerwin Chen

2023-01-19 08:52

developer   ~0011833

Hi YK,

The 'LOCAL_COMPRESSED_MODULE' needs a corresponding stub APK to work well.
Without stub APK, PackageManager won't decompress APK and then original APP can't be installed.
Most important of stub APK is to have the same signature with original APK.
Foxconn doesn't have 3rd party company's key, so we can't do the test by our own.
Please ask 3rd party company to deliver stub apk first.
Thank you !

(ALTech) Younkwang Jung

2023-01-19 09:32

developer   ~0011834

HI Kerwin

Please check the attached two picture files.
one is googletts_signinfo.PNG , other is zemkids_signinfo.PNG
In my opinion, zemkids is signed with the key of FXN.
So I think you can do it.

And I checked some 3rd party apps and there are some that don't have signatures.

Thank you
YK.Jung
zemkids_signinfo.PNG (48,962 bytes)   
zemkids_signinfo.PNG (48,962 bytes)   
googletts_signinfo.PNG (54,467 bytes)   
googletts_signinfo.PNG (54,467 bytes)   

(SW) Kerwin Chen

2023-01-19 11:20

developer   ~0011835

Hi YK,

We have applied 'LOCAL_COMPRESSED_MODULE' to ZemKids app.

=============================================
46186944 SKB_ZemKids_SMART3_foxconn.apk.gz
61742011 SKB_ZemKids_SMART3_foxconn.apk

(SW) Kerwin Chen

2023-01-19 11:37

developer   ~0011837

(ALTech) JunGyu Kim

2023-01-30 19:45

developer   ~0011892

Hi kerwin,

SPTEK is asking what the package below means.
Should use the same package name of the original apk?

Thank you.
Kim
image.png (55,143 bytes)   
image.png (55,143 bytes)   

(SW) Kerwin Chen

2023-01-31 08:58

developer   ~0011895

Hi Mr. Kim,

Yes, the package name should be the same as original APK.
Th picture is an example for your reference, the name should be changed according to compressed APK.

Thank you !

(ALTech) Younkwang Jung

2023-02-16 12:16

developer   ~0012195

Last edited: 2023-02-16 12:17

View 2 revisions

Hi Kerwin

SPETK tested using this method, but permission issues and various issues occurred on the UI side.
Therefore, it is difficult to apply this method in a short period of time at SPTEK.

Is there any restriction of APK that can apply this stub.apk?

and we can't do FW build on FXN ATV12 right now because of space issue
How can we resolve this situation now?

- YouTubekids must be included for QA/BMT. (Requirements from SKB)
- LatinIMEGoogleTVPrebuilt must be included.(?) : link : https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1583
  I think there will be no problem during the Google test even if LatinIMEGoogleTV Prebuilt is missed, so how about we proceed without it first?
  (until the issue of free space is resolved)

Thank you
YK.Jung

(SW) Kerwin Chen

2023-02-16 13:54

developer   ~0012201

Hi YK,

There is no detail information of "LOCAL_COMPRESSED_MODULE" flag.
Originally, we hear it from you.( from INTEK ?)

Based on Google document, LatinIMEGoogleTVPrebuilt must be included.
(https://172.18.223.170/vaas/view.php?id=1583#c12068)
We can't ignore the requirement.

Thank you!

(ALTech) Younkwang Jung

2023-02-16 16:38

developer   ~0012206

Last edited: 2023-02-16 16:40

View 2 revisions

Hi Kerwin

Then, please give us your opinion on how to solve this free space issue.
There will be an FW build tomorrow for BMT.

Thank you
YK.Jung

(SW) Kerwin Chen

2023-02-17 08:52

developer   ~0012216

Hi YK,

I don't have other solutions except to remove unnessary APPs.
For BMT, I think it is OK to exclude 'LatinIMEGoogleTVPrebuilt '.

However, it is Fii's reposibility to remind you about Google's requirement of GTVs.
If you ask us to exclude 'LatinIMEGoogleTVPrebuilt ' for 3PL submission, we have to let you know the risk.

Thank you !

(ALTech) Younkwang Jung

2024-02-14 16:37

developer   ~0015114

Hi Kerwin

I will close this ticket since the issue is over

Thank you
YK.Jung

Issue History

Date Modified Username Field Change
2023-01-18 18:47 (ALTech) Younkwang Jung New Issue
2023-01-18 18:47 (ALTech) Younkwang Jung Status new => assigned
2023-01-18 18:47 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-01-18 18:51 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-01-18 18:51 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Younkwang Jung
2023-01-18 19:05 (ALTech) Younkwang Jung Note Added: 0011831
2023-01-19 08:52 (SW) Kerwin Chen Note Added: 0011833
2023-01-19 09:32 (ALTech) Younkwang Jung Note Added: 0011834
2023-01-19 09:32 (ALTech) Younkwang Jung File Added: zemkids_signinfo.PNG
2023-01-19 09:32 (ALTech) Younkwang Jung File Added: googletts_signinfo.PNG
2023-01-19 11:20 (SW) Kerwin Chen Note Added: 0011835
2023-01-19 11:37 (SW) Kerwin Chen Note Added: 0011837
2023-01-19 11:37 (SW) Kerwin Chen File Added: how_to_compress_apk_20230119.pptx
2023-01-19 12:48 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2023-01-19 12:48 (SW) Kerwin Chen Status assigned => resolved
2023-01-19 12:48 (SW) Kerwin Chen Resolution open => fixed
2023-01-30 19:45 (ALTech) JunGyu Kim Note Added: 0011892
2023-01-30 19:45 (ALTech) JunGyu Kim File Added: image.png
2023-01-31 08:58 (SW) Kerwin Chen Note Added: 0011895
2023-01-31 08:59 (SW) Kerwin Chen Assigned To (ALTech) Younkwang Jung => (ALTech) JunGyu Kim
2023-02-16 12:16 (ALTech) Younkwang Jung Note Added: 0012195
2023-02-16 12:16 (ALTech) Younkwang Jung Assigned To (ALTech) JunGyu Kim => (SW) Kerwin Chen
2023-02-16 12:17 (ALTech) Younkwang Jung Note Edited: 0012195 View Revisions
2023-02-16 13:54 (SW) Kerwin Chen Note Added: 0012201
2023-02-16 13:54 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2023-02-16 16:38 (ALTech) Younkwang Jung Note Added: 0012206
2023-02-16 16:40 (ALTech) Younkwang Jung Note Edited: 0012206 View Revisions
2023-02-17 08:52 (SW) Kerwin Chen Note Added: 0012216
2024-02-14 16:37 (ALTech) Younkwang Jung Note Added: 0015114
2024-02-14 16:37 (ALTech) Younkwang Jung Status resolved => closed